package com.training.dao.impl.xixiaoming;

import java.util.List;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.training.dao.xixiaoming.deptDao;
import com.training.pojo.chengshu.UDept;

public class deptDoaImpl extends HibernateDaoSupport implements deptDao{

	public List<UDept> getAllDept() {
		String hql="from UDept";
		List<UDept> list=this.getHibernateTemplate().find(hql);
		return list;
	}

}
